package com.CST.vo.ys;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author cw
 */
@Data
public class YsEtlAssetDetailsVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @ExcelIgnore
    private Integer id;

    @ApiModelProperty(value = "NUM")
    @ExcelProperty("用友编码")
    private Integer num;

    @ApiModelProperty(value = "年")
    @ExcelIgnore
    private Integer year;

    @ApiModelProperty(value = "月")
    @ExcelIgnore
    private Integer month;

    @ApiModelProperty(value = "固定资产编码")
    @ExcelProperty("固定资产编码")
    private String assetNum;

    @ApiModelProperty(value = "固定资产名称")
    @ExcelProperty("固定资产名称")
    private String assetName;

    @ApiModelProperty(value = "部门编码")
    @ExcelIgnore
    private String deptCode;

    @ApiModelProperty(value = "原值")
    @ExcelProperty("原值")
    private Double originalValue;

    @ApiModelProperty(value = "开始使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty("开始使用时间")
    private LocalDateTime useStartDate;

    @ApiModelProperty(value = "存放地点")
    @ExcelProperty("存放地点")
    private String site;

    @ApiModelProperty(value = "使用人")
    @ExcelProperty("使用人")
    private String operator;

    @ApiModelProperty(value = "院区")
    @ExcelProperty("院区")
    private Integer yard;

    @ApiModelProperty(value = "采集时间")
    @ExcelIgnore
    private LocalDateTime etlTime;

    @ApiModelProperty(value = "时间")
    @ExcelIgnore
    private int period;

    @ApiModelProperty(value = "预算科目编码")
    @ExcelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty(value = "预算科目名称")
    @ExcelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty(value = "0:未删除  1:已删除")
    @ExcelIgnore
    private Integer deleteFlag;

    @ApiModelProperty(value = "导入：0 新增or编辑：1")
    @ExcelIgnore
    private Integer insertFlag;

    @ApiModelProperty("创建数据的用户")
    @ExcelIgnore
    private String createBy;

    @ApiModelProperty("时间")
    @ExcelIgnore
    private Date createTime;

    @ApiModelProperty(value = "部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("申诉状态")
    @ExcelIgnore
    private Integer status;

    @ApiModelProperty("申诉备注")
    @ExcelIgnore
    private String memo;

    @ApiModelProperty("部门Id")
    @ExcelIgnore
    private String deptId;

    @ApiModelProperty("预算部门编码")
    @ExcelIgnore
    private String ysDeptCode;

    @ApiModelProperty("预算部门名称")
    @ExcelIgnore
    private String ysDeptName;

}
